From: Florian Müllner Date: Thu, 20 Feb 2020 15:10:36 +0000 (+0100) Subject: theme: Fix horizontal default user widget X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~43 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=89ca5e71d4efedcdbb1cacd9b172dc764750f656;p=gnome-shell.git theme: Fix horizontal default user widget Commit 6c6c89c63470b5 added a pill around the default avatar, but assumed the sizes from the vertical widget used on the lock screen. In order to fix the horizontal widget on the login screen, move the size-specific bits to the corresponding .horizontal and .vertical sections, and half the sizes for the former (which corelates with the icon sizes). https://gitlab.gnome.org/GNOME/gnome-shell/issues/2242 --- diff --git a/data/theme/gnome-shell-sass/widgets/_misc.scss b/data/theme/gnome-shell-sass/widgets/_misc.scss index 9b5c6c085..f9724398d 100644 --- a/data/theme/gnome-shell-sass/widgets/_misc.scss +++ b/data/theme/gnome-shell-sass/widgets/_misc.scss @@ -15,18 +15,26 @@ & StIcon { background-color: transparentize($osd_fg_color,0.95); - padding: 18px 20px 22px 20px; - width: 88px; height: 88px; border-radius: 99px; } } .user-widget.vertical .user-icon { icon-size: 128px; + + & StIcon { + padding: 18px 20px 22px 20px; + width: 88px; height: 88px; + } } .user-widget.horizontal .user-icon { icon-size: 64px; + + & StIcon { + padding: 9px 10px 11px 10px; + width: 44px; height: 44px; + } } .lightbox { background-color: black; }